<template>
<div id="fixed">
    <div id="Navbar">
        <img src="static/logo.png" alt="">
        <img src="static/分类搜索.svg" @click="search" class="img">
    </div>
</div>
    
</template>

<script>
export default {
    methods:{
        search:function(){
            this.$emit("search")
        }
    }
}
</script>

<style scoped>
    #fixed{
        position:fixed;
        z-index:10;
    }
    #Navbar{
        height: 8vh;
        width: 100vw;
        background-color: #ff4040;
    }
    img{
        height:5vh;
        margin-top: 2vh;
        margin-left: 22vw;
    }
    .img{
        
    }
</style>